﻿<Window x:Class="OnScreenPaintWPF.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <Image
            x:Name="_image" >
        	<Image.Effect>
        		<BlurEffect Radius="{Binding Value, ElementName=_blurSlider}"/>
        	</Image.Effect>
        </Image>
        <StackPanel HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,8,8,0">
        	<Button x:Name="_fullscreenButton" Content="Fullscreen"
                Click="_fullscreenButton_Click" />
        	<Button x:Name="_closeButton" Content="Close"
                Click="_closeButton_Click" />
        </StackPanel>
        <StackPanel VerticalAlignment="Bottom">
        	<Slider x:Name="_blurSlider" Maximum="100"/>
        </StackPanel>
    </Grid>
</Window>
